package com.gljx.web.service;

import com.gljx.util.ServerResponse;
import com.gljx.web.Entity.Changecoachtwo;
import com.gljx.web.Entity.Changecoachtwoentry;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/11/28 0028.
 */
public interface ChangecoachTwoService {
    Map<String, Object> selectPageCount(String psql);

    Map<String, Object> selectPage(int pindex, String s, int psize);

    List<Changecoachtwoentry> selectChangecoachTwoentryByFid(String fid, String cfstudentname);

    void addChangecoachTwo(Changecoachtwo changecoachtwo, String[] cfstudentid, String[] cfstudentno, String[] cfmobile, String[] cfphone, String[] cfcoachid2, String[] cfcoachid, String[] cfcoachno, String[] cfremark, String state);

    Changecoachtwo selectChangecoachTwoByFid(String fid);

    void deleteByChangecoachTwoKey(String[] deleteId, String[] fnumber);

    ServerResponse examine(Changecoachtwo changecoachtwo, String state, String agreed, String auditcomment);

    List<Changecoachtwoentry> selectChangecoachTworegAsXls(String fnumber, String fdescription, String cfstudentname, String beginTime, String endTime, String fcompanyid);

    /**
     * 导入到科目二分车
     */
    String importPracticeDrivingData(String plan);
}
